package com.victor.service;

import com.victor.entity.Manager;

public interface ManagerService {

	/**
	 * 验证是否存在该账号
	 * 
	 * @param m_account
	 * @return
	 */
	public boolean loginexistmanager(String m_account);

	/**
	 * 登录方法
	 * 
	 * @param manager
	 * @return
	 */
	public Manager loginManager(Manager manager);

	/**
	 * 修改密码
	 * 
	 * @param manager
	 * @return
	 */
	public boolean updManagerPassword(Manager manager);

	/**
	 * 通过id查询原密码
	 * 
	 * @param id
	 * @return
	 */
	public Manager getManagerByid(Integer id);
}
